<?php
$this->breadcrumbs=array(
	'Pelanggan'=>array('index'),
	$model->Username,
);

$this->menu=array(
	array('label'=>'Daftar Pelanggan', 'url'=>array('index'), 'visible' => Yii::app()->user->isAdmin()),
	array('label'=>'Registrasi Pelanggan', 'url'=>array('create'), 'visible' => Yii::app()->user->isAdmin()),
	array('label'=>'Perbarui Pelanggan', 'url'=>array('update', 'id'=>$model->Username)),
	array('label'=>'Hapus Pelanggan', 'url'=>'#', 'visible' => Yii::app()->user->isAdmin(), 'linkOptions'=>array('submit'=>array('delete','id'=>$model->Username),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Mengelola Pelanggan', 'url'=>array('admin'),'visible'=> Yii::app()->user->isAdmin()),
);
?>

<h1>Buka Pelanggan #<?php echo $model->Username; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'Username',
		'Nama',
		'Alamat',
		'Tanggal_Lahir',
		'Email',
                'Telepon',
		'Password',
	),
)); ?>
